/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.cax.domain.vo;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

@Data
public class CaxConvertStatisticItem implements Serializable, Comparable<CaxConvertStatisticItem> {
    /**
     * 格式
     */
    private String type;

    /**
     * 转换类型
     */
    private String convertType;

    /**
     * 数量
     */
    private Long count;

    /**
     * 占比
     */
    private String ratio;

    /**
     * 日期
     */
    private String date;

    @Override
    public int compareTo(CaxConvertStatisticItem o) {
        return Long.compare(o.getCount(),this.getCount());
    }
}
